﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RanbuOM.Serialization;

namespace RanbuOM.Common
{
    public enum IndexReferenceMode
    {
        Index = 0,
        Reference
    }

    public class IndexReference<TIndex, TTarget> : DataTypeBase
    {
        [DataProperty]
        public TIndex Index { get; set; }

        public TTarget Target { get; set; }

        public IndexReferenceMode Mode { get; set; }
    }
}
